<?php 
//ÜYELİK BİLEŞENİN MODELİ
class Model {
	function __construct(){
		
	}
	function girisYap($kadi,$sfr){
		global $db;
		$sql	= "SELECT * FROM uyeler WHERE kullanici_adi='$kadi'  AND sifre= '$sfr'";
		$uye	= $db->get_results($sql);
		return    $uye;
	}
}